/*
* @Author: xiaoyangzhao
* @Last Modified by:   xiaoyangzhao
*/
// import 'babel-polyfill'
// import { route_origins } from '../../static/host'
/* let _script = new Image()
_script.src = '../../static/host.js'
document.head.appendChild(_script)*/
const routers = {
    mock: {
        // origin: 'http://rap2api.taobao.org/',
        origin: '/mock/54/',
        path: ''
    },
    dev: {
        origin: '/',
        yapi: 'http://yapi.smart-xwork.cn/mock/85844/',
        frk: 'https://54.197.116.132/'
        // path: 'http://yapi.smart-xwork.cn/mock/85844/cap_rate_form?'
        // path: 'http://54.197.116.132/listings/index?format=json&'
        // path: 'http://36.134.77.8:8001/listings/'
    },
    prod: {
        origin: '',
        path: 'app/mock/template/49701',
        frk: 'https://api.frontrock.io/'
    }
}
window.route_origins = 'http://supplier/'
const route_origins = window.route_origins
const route_origin = 'http://mock/19/'
const route_path_post = 'POST/'
const route_path_get = ''

export { routers, route_origin, route_origins, route_path_post, route_path_get }
